package com.sumover.DAO;

import com.sumover.POJO.Game;
import com.sumover.POJO.GameComment;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface GameCommentMapper {
    int deleteByPrimaryKey(@Param("cid") Integer cid, @Param("gid") Integer gid);

    int insert(GameComment record);

    List<GameComment> selectAll();

    List<GameComment> getGameComments(@Param("game") Game game);
}